when switching to Code viewFckconfig.formatoutput = true; Whether to automatically format the code when the content is outputFckconfig.formatindentator = '; When the code is indented in source format to use the characterFckconfig.startupfocus = false; Whether the focus is on the editor when the page is opened, whether the cursor stays on the FCKeditorFckconfig.forcepasteasplaintext = false; Whether to forc
Cloud habitat here Small series of reference to a few articles for everyone to tidy up, the use of friends more support.
For long article paging, the editor manually inserts when controlling page breaks, so the insertion character for the FCK Insert page break has been modified:To modify the method:Open/editor/js/Find
For the Web page Editor to do the project is a very useful editor, greatly reduce the burden on developers, feel Kindsoft is a good choice, so also in constant use.
under the face of some simple configuration to sum up:
The first is to import the downloaded Kindsoft file into the project directory;
Copy Code c
content that contains HTML and JavaScript, so you must set the validaterequest of the page using FCKeditor to False. (
1, download FCKeditor 2.4, it mainly includes core documents.
2, download FCKeditor 2.2. Net, including asp.net dll files, and extract to any directory.
3, decompression FCKeditor 2.4 Compression package, the folder FCKeditor copied to the root directory of the site, here to ASP.net 2.0 test project as an example, copy it to the ro
of the window. OK, the total profile modification is complete.
Next is the editor location setting, my custom is to put editor in the root directory, the first five files are also placed in the root directory (tips: recommended in the root directory, and recommended to use when the set path also takes an absolute path, such as "/fckeditor/", and my Custom setting is "/" , this facilitates fckeditor update
= '/project/thinphp/vendor/fckeditor/';
If you set up a virtual host, the project becomes a virtual document root directory, through a domain name can directly access the Web site projects, then, at this time,
$this->basepath= '/thinphp/vendor/fckeditor/';
Other parameters such as width and height can be filled or not filled, if the words are the editor's default height and width. InstanceName is the ID and name of the tag where the
following icon of the file name, and then the following three numbers are each line shows the number of expressions and the width and height of the pop-up window, which depends on the size of your expression icon arranged by the size of the window. OK, the total profile modification is complete.
Next is the editor location setting, my custom is to put editor in the root directory, the first five files are
extension limit upimgurl: Picture upload interface address upimgext: Picture local upload extension limit upflashurl: Animation upload interface address upflashext: Animation local upload extension limit upmediaurl: Video Upload interface address upmediaext: Video local upload extension limit beforesetsource: Call this function before you set the source code to the editor Beforegetsource: Call this function before returning the source code from the
First question: Time processing
When the page just loaded the FCK assignment value, such as in the information list select a piece of information to view or modify, when the information is added with FCK edit, load the page will load the FCK editor, this time will report an error: "Fckeditorapi undefined", This is why this error occurs because the FCKEDITORAPI i
Keep a record of the problems you have encountered. The TINYMCE editor used to write this article is powerful, but it's a third party, and the project takes that into account, and it's not convenient to do something customized.
1. Determine the style of the element (or selected part) of the cursor position. Updates the style of the toolbar's corresponding button when the cursor position changes. Under what circumstances will the cursor position change
with ExecCommand is that the generated code may not be standard, as in IE, the text is bold with a B tag instead of a strong label.
Interaction issues
Users can not always enter in the editor, such as bold, insert pictures and other functions are operated through the button. Suppose the user wants to make a bold paragraph of the selected text, and when he presses the Bold button, the selection and focus will follow, so the selection (the selected t
Ewebeditor Editor button is invalid, IE8 Ewebeditor Editor is unable to use the problem-solving method has two, one is the following method by modifying the JS file, in fact, we can also use the second method by adding this sentence to the page.
Copy Code code as follows:
Or
Copy Code code as follows:
The above two meaning
Problem Description:
Inserted in the content of the code highlighted, the background editor can be automatically wrapped, but published, in the foreground view, found that the code can not automatically wrap, directly beyond the boundaries of the content page, very beautiful, although the copy can be complete.
Solution:
Find the CSS file for the highlighted code display/E/DATA/ECMSEDITOR/UEDITOR/THIRD-PA
Modification Description:
1. Add Page break function
2, modify the tab event to add two full-width spaces, more in line with the Chinese use habits
As pictured, download the address below: Kindeditor-3.5.1-zh_cn-kingeric.rar
A few comments and advice:
1, copy Word document to editor, how to filter its format (don't tell me how to use toolbar copy)
2, full screen function, how to make it only a fu
(1) Add the following code before
(2) The following code is to embed ewebeditor into the Web page:
Id= content in the "content" to be the same as the id=content in
Only under the/userfiles/folder. This is obviously inappropriate for a multiuser member system's Web site system because it is not possible for all users to share the same resource folder.
Therefore, it is necessary to dynamically configure, so that different users to the picture, Flash and other resource files uploaded to their own private folders.
FCKeditor is configured in the editor\filemanager\connecto
, and recommended to use when the set path also takes an absolute path, such as "/fckeditor/", and my Custom setting is "/" , this facilitates fckeditor update upgrades, and all folders under the Web site can be invoked arbitrarily, without the problem of other folder names being changed and the editor not available elsewhere.
Open fckeditor.asp file, find Sbasepath = "/fckeditor/" to Sbasepath = "/"
Open t
then the following three numbers are each line shows the number of expressions and the width and height of the pop-up window, which depends on the size of your expression icon arranged by the size of the window. OK, the total profile modification is complete.
Next is the editor location setting, my custom is to put editor in the root directory, the first five files are also placed in the root directory (t
FCKeditor use instructions 1. FCKeditor Introduction FCKeditor This open-source HTML text Editor allows Web programs to have powerful editing features such as Ms Word. FCKeditor supports current popular browsers such as IE 5.5+, Firefox 1.0+, Mozilla 1 .3+ and Netscape 7+.
FCKeditor Lawsuit Party website: http://www.fckeditor.net/
FCKeditor Online Demo:http://www.fckeditor.net/demo
FCKeditor Download Direct
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.